package org.hawk.gwt.ppc.parser;

/**
 * Common interface for all descriptors with conditions.
 * 
 * @author alex.bereznevatiy@gmail.com
 *
 */
public interface ConditionalExpressionDescriptor extends ExpressionDescriptor {
	
	/**
	 * @return condition to check.
	 */
	ExpressionDescriptor getCondition();
	
	/**
	 * @return expression that executes when condition holds.
	 */
	ExpressionDescriptor getExpression();
}
